package splug.cjk.packet;


import java.io.Serializable;
import java.util.ArrayList;

import splug.cjk.Content;

public class BBSPacket implements Serializable{
	private ArrayList<Content> content;
	private ArrayList<Content> sub_content;
	private int number;
	private String id;
	private String title;
	private String sub_title;
	private String date;
	
	public BBSPacket(ArrayList<Content> content, ArrayList<Content> sub_content, int number, String id, String title, String sub_title, String date){
		this.content = content;
		this.sub_content = sub_content;
		this.number = number;
		this.id = id;
		this.title = title;
		this.sub_title = sub_title;
		this.date = date;
	}
	
	public ArrayList<Content> getContent(){
		return content;
	}
	
	public ArrayList<Content> getSubContent(){
		return sub_content;
	}
	
	public int getNumber(){
		return number;
	}
	
	public String getID(){
		return id;
	}
	
	public String getTitle(){
		return title;
	}
	
	public String getSubTitle(){
		return sub_title;
	}
	
	public String getDate(){
		return date;
	}
}
